.statistics-container {
  padding: 20px;
  background-color: #f5f7fa;
  min-height: calc(100vh - 84px);
}
.page-header {
  margin-bottom: 10px;
}

/* 通用卡片样式 */
.card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.15);
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid #ebeef5;
  background: #2d4a6b;
  margin-bottom: 10px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title i {
  font-size: 18px;
}

.card-body {
  padding: 10px;
  height: calc(100% - 57px);
  box-sizing: border-box;
  overflow: hidden;
}

/* 图表卡片特殊处理 */
.health-score .card-body,
.alarm-analysis .card-body,
.history-health-score .card-body {
  padding: 0;
}

/* 左上方侧图表样式 */
.echarts-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.health-score,
.alarm-analysis {
  flex: 1;
  height: 390px;
}

/* 左下方侧图表样式 */
.history-health-score {
  width: 100%;
  height: 420px;
}

/* 右下方侧图表样式 */
.page-right {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 运行分析模块样式 */
.running-analysis {
  width: 100%;
  min-height: 520px;
}

.runningAnalysisBox {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  height: 100%;
  margin-bottom: 20px;
}

.runningAnalysisChart {
  width: 100%;
  height: 250px;
  margin-top: 20px;
}
.runningTimeTrend{
  width: 100%;
  height: 160px;
}
.runningAnalysisItem {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #e4e7ed;
}

.runningAnalysisItem:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.runningAnalysisItem:nth-child(1) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.runningAnalysisItem:nth-child(2) {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #fff;
}

.runningAnalysisItem:nth-child(3) {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #fff;
}

.runningAnalysisItem:nth-child(4) {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: #fff;
}

.item-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.item-icon i {
  font-size: 28px;
  color: #ffffff;
}

.item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.item-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.value-number {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.value-unit {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* 故障记录模块样式 */
.fault-record {
  width: 100%;
  max-height: 290px;
  min-height: 290px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fault-record .card-body {
  padding: 10px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fault-record ::v-deep .el-table {
  font-size: 12px;
  width: 100%;
  table-layout: fixed;
  font-weight: 500;
}

.fault-record ::v-deep .el-table th {
  text-align: center !important;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.fault-record ::v-deep .el-table td {
  text-align: center !important;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  font-weight: 500;
}

.fault-record ::v-deep .el-table__body-wrapper {
  max-height: 200px;
  overflow-y: auto;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .runningAnalysisBox {
    grid-template-columns: 1fr;
  }
  
  .runningAnalysisItem {
    padding: 20px;
  }
  
  .value-number {
    font-size: 24px;
  }
}

